package crawler.web.component;

import library.thread.flow.ParameterBox;
import crawler.web.beans.CrawlPageContext;
import crawler.web.beans.CrawlURL;
import crawler.web.utils.MyHttpClient;

/**
 * @author waynechen Mar 6, 2012 11:48:35 AM
 */
public interface IComponent {
	boolean accept(CrawlURL url);

	void process(ParameterBox params) throws Exception;

	boolean additionRequest(MyHttpClient client, CrawlPageContext context);
}
